<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="/struts-dojo-tags" prefix="sx"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>预订桌次</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
    <sx:head />
  </head>
  
  <body>
  <div align="center">
      请选择桌次
      <sx:tabbedpanel id="tableTab">
                   
                 <s:if test="results.size == 0">
                                                                                   暂无可与订桌次信息                                                    
                 </s:if>
                 <s:else>
                   <s:iterator value="results" status="s">
                     <sx:div label="%{tableNo}"  href ='doQueryBookableTablePeriods.do?tableNo=%{tableNo}&startTime=%{startTime}&endTime=%{endTime}' refreshOnShow="true">
                     </sx:div> 
                   </s:iterator>
                 </s:else>
       </sx:tabbedpanel>
   </div>
  </body>
</html>
